package com.ibeeking.found.open.api.common.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName CouponVerificationQuery
 * @Description
 * @Author ibeeking
 * @Date 2021-06-04 16:26
 **/
@Data
public class CouponVerificationQRParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 二维/条形券码
     */
    @NotBlank(message = "二维/条形券码不能为空")
    private String couponQRCode;

    /**
     * 商户编码
     */
    @NotNull(message = "商户id不能为空")
    private Long shopId;

    @NotNull(message = "订单金额不能为空")
    private Long couponAmount;
}
